package com.example.mushroom.service;

import com.example.mushroom.entity.SensorData;
import java.util.Date;
import java.util.List;

public interface SensorDataService {
    int insertSensorData(SensorData sensorData);
    SensorData selectSensorDataById(Integer id);
    List<SensorData> selectAllSensorData();
    List<SensorData> selectSensorDataByTimeRange(Date start, Date end);
    int updateSensorData(SensorData sensorData);
    int deleteSensorDataById(Integer id);
    List<SensorData> selectSensorDataByPage(int offset, int limit);
}